<?php
/**
 * 国家物流报价单-数据模型
 */

namespace app\common\model;

class ExpressCountryQuotation extends BaseModel
{
    //数据表主键
    protected $pk = 'quotation_id';

    protected $insert = ['create_by', 'update_by'];

    protected $update = ['update_time','update_by'];


    //获取主表数据【ExpressCountryQuotation::get(id)->expressCountry】
    public function expressCountry()
    {
        return $this->belongsTo(ExpressCountry::class,'express_country_id','express_country_id');
    }


}
